
const obj = {
    name:"Jack",
    age:18
}



const http = require("http");

const seaver = http.createServer((req,res)=>{
    res.setHeader("Content-Type","text/html; charset=utf-8");
    console.log(typeof obj);
    res.end();
    
});

seaver.listen(8080);